﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ServiceEntities;
using BVCommon.Entities;


[ServiceContract]
public interface IProductService 
{
    //[OperationContract]
    //ProductDTO[] GetData();

    //[OperationContract]
    //void SafeData(IEnumerable<ProductDTO> list);
    [OperationContract]
    List<Product> GetData();

    [OperationContract]
    void SaveData(IEnumerable<Product> list);
}
